package org.genntii.warehousesystem.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.genntii.warehousesystem.domain.entity.GoodsProcurement;

import java.util.List;

@Mapper
public interface GoodsProcurementMapper extends BaseMapper<GoodsProcurement> {

    @Select("select * from goods_procurement limit #{page},10")
    List<GoodsProcurement> listByPage(@Param("int")int page);

}
